﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="en_Login.aspx.cs" Inherits="en_Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<link rel="stylesheet" type="text/css" href="pro/bootstrap/css/bootstrap.min.css" media="all">
    <title>Admin Login</title>
    <style>
        .textbox
        {
            border: 1px #B7D8ED solid;
            line-height: 16px;
            height: 20px;
        }
    </style>
</head>
<body>
    <form id="form_login" runat="server">
    <div>
        <table align="center" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td>
                    <asp:Login ID="Login1" runat="server" class="border" BorderWidth="1px" OnAuthenticate="Login1_Authenticate"
                        TextBoxStyle-CssClass="textbox" Width="350px">
                        <TextBoxStyle CssClass="textbox"></TextBoxStyle>
                        <LayoutTemplate>
                            <table align="center" border="0" cellpadding="3" cellspacing="1" style="width: 100%">
                                <tr>
                                    <td class="tableHeader" colspan="2" style="font-weight: bold; text-indent: 5px;">
                                        <asp:Label ID="lblSignInTitle" runat="server" Text="Sign In"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2" style="height: 15px">
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-indent: 30px" width="120" align="right">
                                        <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">Username</asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="UserName" runat="server" Style="width: 150px;"></asp:TextBox>
                                        &nbsp;
                                        <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                            ErrorMessage="User name is required." ToolTip="User name is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-indent: 30px" align="right">
                                        <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password</asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="Password" runat="server" Style="width: 150px;" TextMode="Password"></asp:TextBox>
                                        &nbsp;
                                        <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                            ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-indent: 30px" align="right">
                                        &nbsp;
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-indent: 10px; padding-top: 7px; padding-bottom: 7px">
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="RememberMe" runat="server"  />
                                        <asp:Label ID="Label1" runat="server" Text="Remember Me Next Time." />
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                    </td>
                                    <td style="padding-top: 6px; padding-bottom: 6px">
                                        <asp:Button ID="LoginButton" runat="server"  class="btn  btn-primary" CommandName="Login" Style="width: 70px"
                                            Text="Sign In" ValidationGroup="Login1" />
                                    </td>
                                </tr>
                            </table>
                            <div style="padding: 10px; color: Red">
                                <asp:Literal ID="FailureText" runat="server"   EnableViewState="False"></asp:Literal></div>
                        </LayoutTemplate>
                    </asp:Login>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
